home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / doom / valhalla.zip / VINSTALL.BAT < prev   
DOS Batch File  |  1997-03-06  |  2KB  |  61 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo VALHALLA.WAD Installation 
  5. echo.
  6. echo This batch program will NOT alter your Doom2.exe or Doom2.wad files.
  7. echo If you have a doomhack.exe file you are working on, it will not be affected.
  8. echo Your savegames will be backed up as 'doomsav#.old'.
  9. echo.
  10. echo CTRL + C to abort.
  11. echo.
  12. pause
  13. cls
  14. if not exist doom2.wad goto missing
  15. if not exist doom2.exe goto missing
  16. if not exist valhalla.deh goto missing
  17. if not exist valhalla.wad goto missing
  18. if not exist dehacked.exe goto missing
  19. if not exist deusf.exe goto missing
  20. if not exist vinstall.bat goto missing
  21. if exist doomhack.exe copy doomhack.exe doomhack.old
  22. if exist doomhack.ini copy doomhack.ini dhackini.old
  23. if exist doomhack.exe del doomhack.exe
  24. copy doom2.exe doomhack.exe
  25. dehacked -reload -load valhalla.deh
  26. cls
  27. echo.
  28. echo Saving original valhalla.wad as valhalla.org...
  29. copy valhalla.wad valhalla.org
  30. echo.
  31. echo Adding sprites and flats. This will take about 45 seconds...
  32. @deusf -main .\doom2.wad -as valhalla.wad
  33. echo.
  34. echo doomhack -file valhalla.wad > valhalla.bat
  35. cls
  36. echo.
  37. echo Installation succeeded.
  38. echo type VALHALLA to play the modified game.
  39. echo.
  40. echo IMPORTANT. If you want to play a modem, serial or network game, move 
  41. echo your original doom2.exe to a safe location and rename valhalla.exe as
  42. echo doom2.exe.
  43. echo.
  44. goto end
  45.  
  46. :missing
  47. echo ERROR. These files must be in your Doom2 directory. 
  48. echo.
  49. echo doom2.exe (of course)
  50. echo deusf.exe
  51. echo dehacked.exe
  52. echo valhalla.wad
  53. echo valhalla.deh
  54. echo vinstall.bat
  55. echo.
  56. echo Check your Doom2 directory then run vinstall again.
  57. echo.
  58. goto end
  59.  
  60. :end
  61.